package com.quartz2.manager;

import javax.annotation.Resource;  
import org.quartz.SchedulerException;  

import com.tmpt.service.IQuartzService;
  
  
  
/** 
 * 调用job 
 * @author Administrator 
 * 
 */  
public class JobService {  
    @Resource  
    private IQuartzService quartzService;  
      
    /** 
     * 初始化定时任务 
     * @throws SchedulerException  
     */  
    public void loadJobInit() throws SchedulerException{  
    	quartzService.startAllJob();
    }  

}  